On the implementation of AKS-class primality tests
نویسنده
چکیده
Algorithms of the new “cyclotomic AKS class” determine rigorously and in polynomial time whether an input integer is prime. Herein are discussed implementation issues, with a focus on techniques such as asymptotically fast polynomial manipulations, the possible use of floating-point arithmetic, and special powering ladders. We implemented various of the ideas herein on an Apple G4, Mac OS X system, and report performance for one particular AKS variant. We note two performance issues: a) although single-precision vector floats were not employed in this test implementation, double-precision float performance was quite impressive (we quantify this), and b) there are many additional ways to invoke vectorization, if one so desires, for further speedups. * Advanced Computation Group, Apple Computer ** University of Maryland College Park
منابع مشابه
CSIR Centre for Mathematical Modelling and Computer Simulation ANALYSIS ON IMPLEMENTATION AND ITS FURTHER IMPROVEMENTS OF AKS CLASS ALGORITHMS
The present work has been carried out at CSIR Centre for Mathematical Modeling and Computer Simulation (C-MMACS). The paper deals with the implementation of AKS class primality tests and various issues relating to it. AKS algorithm is the first deterministic polynomial time primality test named after its authors Manindra Agarwal, Neeraj Kayal and Ntin Saxena. A primality-testing algorithm is on...
متن کاملAn Empirical Study towards Refining the AKS Primality Testing Algorithm
The AKS (Agrawal-Kayal-Saxena) algorithm is the first ever deterministic polynomialtime primality-proving algorithm whose asymptotic run time complexity is O(log n), where > 0. Despite this theoretical breakthrough, the algorithm serves no practical use in conventional cryptologic applications, as the existing probabilistic primality tests like ECPP in conjunction with conditional usage of sub-...
متن کاملOn Derandomizing Tests for Certain Polynomial Identities
We extract a paradigm for derandomizing tests for polynomial identities from the recent AKS primality testing algorithm. We then discuss its possible application to other tests.
متن کاملTowards the Verification of The AKS Primality Test in ACL2
In this paper we present a recursive implementation of the Agrawal, Kayal and Saxena primality testing algorithm, which is the first unconditional deterministic polynomial time primality testing algorithm. Since the algorithm’s proof of correctness makes use of informal notation and omits many key steps, we present the progress made toward using ACL2 to verify the algorithm’s correctness. In pa...
متن کاملImproving the Speed and Accuracy of the Miller-Rabin Primality Test
Currently, even the fastest deterministic primality tests run slowly, with the AgrawalKayal-Saxena (AKS) Primality Test runtime Õ(log(n)), and probabilistic primality tests such as the Fermat and Miller-Rabin Primality Tests are still prone to false results. In this paper, we discuss the accuracy of the Miller-Rabin Primality Test and the number of nonwitnesses for a composite odd integer n. We...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2003